package org.springframework.circularReference;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class A {

	private B b;

	public A(B b) {
		this.b = b;
	}

	public A() {
	}

	public B getB() {
		return b;
	}

	@Autowired
	public void setB(B b) {
		this.b = b;
	}
}
